package com.pug.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * Author: lqm
 * create: 2022/3/22 17:28
 * Lover: lqx
 *
 * @see
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("kss_user_collect_hotel")
public class HotelUserCollect {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 关注酒店
     */
    private Long hotelid;

    /**
     * 关注用户
     */
    private Long userid;


//    private Integer hotelId;

    /**
     * 创建时间 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新时间 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
